package com.study.tests;

import com.alibaba.fastjson.JSONObject;

/**
 * @author ：ihao ∶）
 * @date ：Created in 2021-03-12 16:54
 */
public class ReUtil {

    public static <T extends BaseResponse> T request(BaseRequest<T> request) {
        return JSONObject.parseObject("{\"name\":\"123\"}", request.getResponseClass());
    }


    public static void main(String[] args) {
        VeResponse request = request(new VeRequest() );
        System.out.println(request);
    }
}
